import appconf from "./appconf.js"

"use strict";
const domain = appconf.domain;
export default {
    Domain: domain, // 服务器地址
    NotActionLogin: domain + "tcstore/wx/login/silence", // 静默登录（微信）
    ActionLogin: domain + "tcstore/wx/login/nosilence", // 非静默登录（微信）
    AliLogin: domain + "tcstore/alipay/login", // 静默登录（支付宝）
    OpenDoor: domain + "tcstore/tcXcxDevice/openDevice", // 开门. 'IN':上货开门请求，  'OUT':消费开门请求
    // OpenDoor: domain + "tcstore/door/open",	// 开门. 'IN':上货开门请求，  'OUT':消费开门请求
    // OpenDoor: domain + "tcstore/test/door/open",	 // 测试开门
    TelephoneLogin: domain + "tcstore/phone/bind", // 提交电话号码登录(绑定手机号码)
    QueryPayScoreStatus: domain + "tcstore/wx/pay/service-state", // 查询支付分开通状态
    CreateOrder: domain + "tcstore/test/pay/create-order", // 创建订单
    CompleteOrder: domain + "tcstore/test/pay/complete-order", // 完结订单
    GetGoodsList: domain + "tcstore/product/getList", // 获取商品列表
    // GetGoodsListByDevice: domain + "tcstore/goods/getMyGoods",	// 获取商品列表（新）
    GetGoodsListByDevice: domain + "/tcstore/tcXcxDevice/getDeviceGoodsList", // 获取商品列表（新）
    QueryDeviceStatus: domain + "tcstore/device/checkStatus", // 查询设备状态
    // GetOrderData: domain + "tcstore/order/getList",	// 获取订单数据
    GetOrderData: domain + "tcstore/tcXcxOrder/getUserOrderList", // 获取订单数据
    QueryAliSilencePayStatus: domain + "tcstore/alipay/agreement/check-status", // 查询支付宝免密支付开通状态
    PushOpinion: domain + "tcstore/advice/commit", // 提交反馈-意见
    GetAddStockRecord: domain + "tcstore/courier/getCourierRecords", // 获取上货记录
    GetStockList: domain + "tcstore/stock/getList", // 获取库存数据列表
    GetQuestionList: domain + "tcstore/problem/getList", // 获取常见问题列表
    GetDeviceList: domain + "tcstore/device/getList", // 获取设备列表
    BindManage: domain + "tcstore/device/bind", // 绑定上货员	
    WechatGetPhone: domain + "tcstore/wx/getPhone", // 微信提交参数获取手机号码
    AlipayGetPhone: domain + "tcstore/alipay/getPhone", // 支付宝提交参数获取手机号码
    GetAlipaySingleSign: domain + "tcstore/alipay/getSignUrl", // 获取支付宝单次签约签名
    QueryAliSingleSignStatus: domain + "tcstore/alipay/agreement/check-status", // 查询支付宝单次签约状态
    UnSingleSign: domain + 'tcstore/alipay/agreement/unsign', // 解约单次签约授权
    GetServerStatus: domain + 'tcstore/wx/getServiceOpenStatus', // 查询系统服务开启状态
    PushBroken: domain + 'tcstore/device/repair', // 提交维修报告
    PushBrokenByStream: domain + 'tcstore/device/repairV2', // 通过文件流提交表单（图片）
    GetGoodsType: domain + 'tcstore/goods/getGoodsType', // 获取商品分类
    AliUploadImage: domain + 'tcstore/device/uploadRepairPic', // 上传图片
    AliPushBroken: domain + 'tcstore/device/repairPart2', // 获取商品分类
    IsManage: domain + 'tcstore/isCourier', // 是否上货员
    GetBindDeviceList: domain + 'tcstore/device/getDeviceListV2', // 获取已绑定的列表
    QueryReplenishPushStatus: domain + 'tcstore/courier/checkStatus', // 查询提交上货单状态
    PushReplenishSheet: domain + 'tcstore/courier/uploadDetail', // 提交上货单
    getBanners: domain + 'tcstore/tcXcx/XcxGetCurrentDeviceActivityList',
    applyRefund: domain + '/tcstore/tcXcxOrder/applyRefund',
    getRedPacket: domain + '/tcstore/tcXcx/XcxGetMyRedPackageList',
    GetOrder: domain + "tcstore/tcXcxOrder/getOne", // 获取单条订单数据
    Subscribe: domain + "tcstore/tcXcx/XcxUserSubscribe", // 获取单条订单数据
    ExchangeRedPacket: domain + "tcstore/tcXcx/XcxExchangeRedPackage", // 获取单条订单数据,
    QueryOrderStatus: domain + "tcstore/tcXcxOrder/getOrderStatus", // 查询订单状态
    CancelOrder: domain + "tcstore/wx/pay/order-cancel", // 取消支付分订单

    // 新增
    Coupons: domain + "tcstore/tcActivity/getActivityListByUser", // 获取优惠活动海报
    Receive: domain + "tcstore/tcActivity/getCoupon", // 点击领取优惠券
    GetPolling: domain + "tcstore/tcXcxDevice/getCourierRecordStatus", // 重力柜轮询接口
    GetDeviceInfo: domain + "tcstore/tcXcxDevice/getDeviceInfo", //  获取设备信息
    NewGetDeviceList: domain + "tcstore/stock/getList", //  获取重力柜货单

    prepaidAccount: domain + "tcstore/tcXcx/prepaidAccount/list", // 获取辻粤味订单列表
    OrderRefundList: domain + "tcstore/tcXcxOrder/getOrderRefundList", // 获取售后订单列表
    payForPayScore: domain + "tcstore/pay/payForPayScore", // 主动完成支付分订单>

}